package com.example.gpt.mapper;

import com.example.gpt.entity.Content;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ContentMapper {
    int addContent(Content content);
    int updateContent(Content content);
    int deleteContentById(int id);
    Content getContentById(int id);
    List<Content> getAllContent();
}
